package com.wayne.oauth2.http;

public enum HttpStatus {
    UNKNOWN(-1, "未知异常"),
    SUCCESS(200, "成功"),
    FAILURE(9999, "失败");
    private Integer code;
    private String massage;

    HttpStatus(Integer code, String message) {
        this.code = code;
        this.massage = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMassage() {
        return massage;
    }
}
